package com.xxx.common.dto;

import java.util.List;

import lombok.Data;

@Data
public class Menu {
	
	private long id;
	
	private String menuname; 	//名称
	
	private String menuurl;		//菜单
	
	private long parentid;		//父级id
	
	private String icon;		//图标样式
	
	private boolean hasSub;		//是否有子菜单
	
	private List<Menu> subList;	//子菜单

	public Menu() {
		super();
	}

	public Menu(long id, String menuname, String menuurl, long parentid, String icon) {
		super();
		this.id = id;
		this.menuname = menuname;
		this.menuurl = menuurl;
		this.parentid = parentid;
		this.icon = icon;
	}

	
}
